#include "QuadProcess.h"
#include "RenderManager.h"
#include "Math\Matrix44.h"
#include "Font\FontManager.h"
#include "Core\Core.h"
#include "Utils\Base.h"

CQuadProcess::CQuadProcess()
{
}


CQuadProcess::~CQuadProcess()
{
	DeInit();
}

void CQuadProcess::Init()
{
}

void CQuadProcess::DeInit()
{
}

void CQuadProcess::Update(float dt)
{

}

void CQuadProcess::RenderScene(CRenderManager* RM)
{
	RM->Debug_DrawAxis(3);
	//RM->Debug_DrawSphere(1.5, 30, colYELLOW);
	RM->Debug_DrawGrid(10, 20, colWHITE);
}

void CQuadProcess::RenderScene2D(CRenderManager* RM, CFontManager* FM)
{
	/*RM->DrawQuad2D(Vect2i(380, 300), 50, 30, CENTER, CColor(1.0f, 0.0f, 0.0f, 0.5f));
	RM->DrawRectangle2D(Vect2i(425, 300), 50, 30, CColor(1.0f, 0.0f, 0.0f, 0.7f), 5, 5, colWHITE);*/
}

uint32 CQuadProcess::RenderDebugInfo(CRenderManager* RM, CFontManager* FM, float FPS)
{
	uint32 posY = CProcess::RenderDebugInfo(RM, FM, FPS);
	posY += CORE->GetFontManager()->DrawDefaultText(0, posY, colWHITE, "- Stuff from QuadProcess");
	return posY;
}